Find the Occurrence of Words in a String